MIX_HAL_STM32F1XX-INC-ALL ?= y
MIX_HAL_STM32F1XX-SRC-ALL ?= n

inc-$(MIX_HAL_STM32F1XX-INC-ALL) += *
src-$(MIX_HAL_STM32F1XX-SRC-ALL) += *

src-$(MIX_HAL-cmsis)        += CMSIS/Source/system_stm32f1xx.c
src-$(MIX_HAL-)             += drivers/src/stm32f1xx_hal.c
src-$(MIX_HAL-adc)          += drivers/src/stm32f1xx_hal_adc.c
src-$(MIX_HAL-adc)          += drivers/src/stm32f1xx_hal_adc_ex.c
src-$(MIX_HAL-can)          += drivers/src/stm32f1xx_hal_can.c
src-$(MIX_HAL-cec)          += drivers/src/stm32f1xx_hal_cec.c
src-$(MIX_HAL-cortex)       += drivers/src/stm32f1xx_hal_cortex.c
src-$(MIX_HAL-crc)          += drivers/src/stm32f1xx_hal_crc.c
src-$(MIX_HAL-dac)          += drivers/src/stm32f1xx_hal_dac.c
src-$(MIX_HAL-dac)          += drivers/src/stm32f1xx_hal_dac_ex.c
src-$(MIX_HAL-dma)          += drivers/src/stm32f1xx_hal_dma.c
src-$(MIX_HAL-eth)          += drivers/src/stm32f1xx_hal_eth.c
src-$(MIX_HAL-exti)         += drivers/src/stm32f1xx_hal_exti.c
src-$(MIX_HAL-flash)        += drivers/src/stm32f1xx_hal_flash.c
src-$(MIX_HAL-flash)        += drivers/src/stm32f1xx_hal_flash_ex.c
src-$(MIX_HAL-gpio)         += drivers/src/stm32f1xx_hal_gpio.c
src-$(MIX_HAL-gpio)         += drivers/src/stm32f1xx_hal_gpio_ex.c
src-$(MIX_HAL-hcd)          += drivers/src/stm32f1xx_hal_hcd.c
src-$(MIX_HAL-i2c)          += drivers/src/stm32f1xx_hal_i2c.c
src-$(MIX_HAL-i2s)          += drivers/src/stm32f1xx_hal_i2s.c
src-$(MIX_HAL-irda)         += drivers/src/stm32f1xx_hal_irda.c
src-$(MIX_HAL-iwdg)         += drivers/src/stm32f1xx_hal_iwdg.c
src-$(MIX_HAL-mmc)          += drivers/src/stm32f1xx_hal_mmc.c
src-$(MIX_HAL-nand)         += drivers/src/stm32f1xx_hal_nand.c
src-$(MIX_HAL-nor)          += drivers/src/stm32f1xx_hal_nor.c
src-$(MIX_HAL-pccard)       += drivers/src/stm32f1xx_hal_pccard.c
src-$(MIX_HAL-pcd)          += drivers/src/stm32f1xx_hal_pcd.c
src-$(MIX_HAL-pcd)          += drivers/src/stm32f1xx_hal_pcd_ex.c
src-$(MIX_HAL-pwr)          += drivers/src/stm32f1xx_hal_pwr.c
src-$(MIX_HAL-rcc)          += drivers/src/stm32f1xx_hal_rcc.c
src-$(MIX_HAL-rcc)          += drivers/src/stm32f1xx_hal_rcc_ex.c
src-$(MIX_HAL-rtc)          += drivers/src/stm32f1xx_hal_rtc.c
src-$(MIX_HAL-rtc)          += drivers/src/stm32f1xx_hal_rtc_ex.c
src-$(MIX_HAL-sd)           += drivers/src/stm32f1xx_hal_sd.c
src-$(MIX_HAL-smartcard)    += drivers/src/stm32f1xx_hal_smartcard.c
src-$(MIX_HAL-spi)          += drivers/src/stm32f1xx_hal_spi.c
src-$(MIX_HAL-sram)         += drivers/src/stm32f1xx_hal_sram.c
src-$(MIX_HAL-tim)          += drivers/src/stm32f1xx_hal_tim.c
src-$(MIX_HAL-tim)          += drivers/src/stm32f1xx_hal_tim_ex.c
src-$(MIX_HAL-uart)         += drivers/src/stm32f1xx_hal_uart.c
src-$(MIX_HAL-uart)         += drivers/src/stm32f1xx_hal_usart.c
src-$(MIX_HAL-wdg)          += drivers/src/stm32f1xx_hal_wwdg.c
src-$(MIX_HAL-adc)          += drivers/src/stm32f1xx_ll_adc.c
src-$(MIX_HAL-crc)          += drivers/src/stm32f1xx_ll_crc.c
src-$(MIX_HAL-dac)          += drivers/src/stm32f1xx_ll_dac.c
src-$(MIX_HAL-dma)          += drivers/src/stm32f1xx_ll_dma.c
src-$(MIX_HAL-exti)         += drivers/src/stm32f1xx_ll_exti.c
src-$(MIX_HAL-fsmc)         += drivers/src/stm32f1xx_ll_fsmc.c
src-$(MIX_HAL-gpio)         += drivers/src/stm32f1xx_ll_gpio.c
src-$(MIX_HAL-i2c)          += drivers/src/stm32f1xx_ll_i2c.c
src-$(MIX_HAL-pwr)          += drivers/src/stm32f1xx_ll_pwr.c
src-$(MIX_HAL-rcc)          += drivers/src/stm32f1xx_ll_rcc.c
src-$(MIX_HAL-rtc)          += drivers/src/stm32f1xx_ll_rtc.c
src-$(MIX_HAL-sdmmc)        += drivers/src/stm32f1xx_ll_sdmmc.c
src-$(MIX_HAL-spi)          += drivers/src/stm32f1xx_ll_spi.c
src-$(MIX_HAL-tim)          += drivers/src/stm32f1xx_ll_tim.c
src-$(MIX_HAL-usart)        += drivers/src/stm32f1xx_ll_usart.c
src-$(MIX_HAL-usb)          += drivers/src/stm32f1xx_ll_usb.c
src-$(MIX_HAL-utils)        += drivers/src/stm32f1xx_ll_utils.c

obj-n += drivers/src/stm32f1xx_hal_msp_template.c
obj-n += drivers/src/stm32f1xx_hal_timebase_rtc_alarm_template.c
obj-n += drivers/src/stm32f1xx_hal_timebase_tim_template.c
